﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model
{
    public class PageData
    {
        public PageData(object data, int count, int pageCount)
        {
            _data = data;
            _count = count;
            _pagecount = pageCount;
        }
        private object _data;
        private int _count;
        private int _pagecount;

        /// <summary>
        /// 数据
        /// </summary>
        public object Data
        {
            get { return _data; }
            set { _data = value; }
        }

        /// <summary>
        /// 数据条数
        /// </summary>
        public int Count
        {
            get { return _count; }
            set { _count = value; }
        }

        /// <summary>
        /// 页数
        /// </summary>
        public int PageCount
        {
            get { return _pagecount; }
            set { _pagecount = value; }
        }
    }
}